<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <style>
    .red {
      color: red;
    }
  </style>
  <div id="duo">
    <h1 class="red">[[name1]]</h1>
    <h1>[[name1]]</h1>
  </div>
  <script src="Duo_base.js"></script>
  <script>
    const duo = {
      data: {
        name1: '陈铎公'
      }
    }

    const DuoVM = createDuo(duo).renderDOM('#duo')
    //DuoVM.data.val.name1 = '5456'
    setTimeout(() => {
    //  DuoVM.data.val.name1 = '132'
      console.log(DuoVM.data);

    }, 2000)
  </script>
</body>

</html>